package com.ls.service;

import com.ls.base.BaseResult;
import com.ls.controller.model.channel.QueryChannelModel;
import com.ls.controller.model.commService.AddCommServiceModel;
import com.ls.controller.model.commService.EditCommServiceModel;
import com.ls.controller.model.commService.QueryCommServiceModel;
import com.ls.entity.CommService;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.entity.SysUser;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pengyu
 * @since 2019-12-05
 */
public interface ICommServiceService extends IService<CommService> {

    BaseResult add(AddCommServiceModel model, SysUser currentUser);

    boolean checkServiceNameExist(String serviceName);

    BaseResult edit(EditCommServiceModel model, SysUser currentUser);

    BaseResult listByPage(QueryCommServiceModel model, SysUser currentUser);
}
